/* 
 * File:   es.h
 * Author: FENG Xu <fengxu1989@gmail.com>
 *
 * Created on May 29, 2012, 5:50 PM
 */

#ifndef ES_H
#define	ES_H

#ifdef	__cplusplus
extern "C" {
#endif

	#include <stdio.h>
	#include "binio.h"
	#include "types.h"
	#include "auxiliaires.h"
	#include "codage.h"
	#include "packageMerge.h"
	
	void compresser(FILE* input, binio_t output);
	void decompresser(binio_t input, FILE* output);
	void ecrireFichier_C(FILE* input, listeSC lsc, binio_t output);
	void help();
	ajout* lireFichier_C(FILE* bit_stream_in);
	void chercherCode(unsigned char ch, listeSC lsc);
	void ecrireLSC(listeSC lsc, binio_t output);
			
#ifdef	__cplusplus
}
#endif

#endif	/* ES_H */

